package com.ziyun.pop.common.e;

/**
 * @author guizhao
 * @date 2018-10-06 10:16
 */
public enum WhetherEnum implements BaseEnum{

    /**
     * 1.是
     */
    YES(1,"是"),

    /**
     * 0.否
     */
    NO(0,"否"),
    ;

    private int id;
    private String describe;

    WhetherEnum(int id, String describe){
        this.id = id;
        this.describe = describe;
    }

    @Override
    public int toInt() {
        return id;
    }

    @Override
    public String toCode() {
        return null;
    }

    @Override
    public String toDescribe() {
        return describe;
    }
}
